package com.study.a01threadDemo1;

public class ThreadDemo {
    public static void main(String[] args) {

        MyThread T1 = new MyThread();

        MyThread T2 = new MyThread();

        T1.setName("线程1");
        T2.setName("线程2");
        T1.start();
        T2.start();
    }
}
